package com.sky.web.data1.user.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sky.web.data1.user.dao.RoleDao;
import com.sky.web.data1.user.entity.Role;
import com.sky.web.data1.user.service.RoleService;
@Service
public class RoleServiceImpl implements RoleService{
	@Autowired
	private RoleDao roleDao;
	
	@Override
	public List<Role> getRoles(Role role) {
		return roleDao.getRoles(role);
	}

}
